#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
@file:eval1.py
@time:2016/11/1 0001 18:08
"""
def dump(expression):
    result = eval(expression)
    print expression, '=》',result,type(result)

dump('1')
dump('1.0')
dump("'string'")
dump('1.0+2.0')
dump("'*' * 10")
dump("len('world')")
dump("'a' + 'b'")
